ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 15 - No. 9)

In which type of loop is the condition checked *before* the loop body is executed?
Post-condition loop
Pre-condition loop
Count-controlled loop
Nested loop

Giải thích

In a pre-condition loop (e.g., while loop), the condition is evaluated at the beginning, and the loop body executes only if the condition is true.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc